<h1>Crm empresas List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Cif</th>
      <th>Nombre</th>
      <th>Direccion</th>
      <th>Poblacion</th>
      <th>Web</th>
      <th>Descripcion</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($crm_empresas as $crm_empresa): ?>
    <tr>
      <td><a href="<?php echo url_for('empresa/show?id='.$crm_empresa->getId()) ?>"><?php echo $crm_empresa->getId() ?></a></td>
      <td><?php echo $crm_empresa->getCif() ?></td>
      <td><?php echo $crm_empresa->getNombre() ?></td>
      <td><?php echo $crm_empresa->getDireccion() ?></td>
      <td><?php echo $crm_empresa->getPoblacion() ?></td>
      <td><?php echo $crm_empresa->getWeb() ?></td>
      <td><?php echo $crm_empresa->getDescripcion() ?></td>
      <td><?php echo $crm_empresa->getCreatedAt() ?></td>
      <td><?php echo $crm_empresa->getUpdatedAt() ?></td>
      <td><?php echo $crm_empresa->getValidatedAt() ?></td>
      <td><?php echo $crm_empresa->getIsValidated() ?></td>
      <td><?php echo $crm_empresa->getRemovedAt() ?></td>
      <td><?php echo $crm_empresa->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('empresa/new') ?>">New</a>
